<%--
 *  File:   ContractSummary.jsp
 *  Desc:	Contract Management Summary
 *
 *  Date		         Author		      Changes
 *  2005-7-19	  andreali		  Created
 *
 *  Copyright (C) 2000 - 2005 Oval Technologies, Inc.
 *  All rights reserved.
 *
 *  This software is the confidential and proprietary information of Oval
 *  Technologies, Inc. ("Confidential Information").  You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into
 *  with Oval.
--%>
			<%
			  //init param
			  String privilegeCode = "14301";
			  String strTableName = "v_zylshipmentbatchnopwdsummary";
			  String strModuleName = "COM";
			  String contextPath = request.getContextPath();
			%>
			<%@ include file="/inc/CommonHeader.inc"%>
			<%@ include file="/inc/OvalLocationDefault.inc"%>

<html>
	<head>
		<title>ShipmentBathnoPwdSummary</title>
		
			<PageFlow:CheckPageFlow pageName="p_zylshipmentbatchnopwd" />
			<%@ include file="/inc/CatchError.inc"%>
			<%@ include file="/inc/SumDiv.inc"%>
	
			<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
			<link rel="stylesheet" href="<%=contextPath%>/css/<%= strLanguageCode %>/main.css" type="text/css">
			<script language="JavaScript" src="<%=contextPath%>/css/<%= strLanguageCode %>/script.js"></script>
			<script language="JavaScript" src="<%=contextPath%>/js/ScriptLib.js"></script>
			<script language="JavaScript" src="<%=contextPath%>/js/SummaryDivision.js"></script>
			
			<script type="text/javascript">
			
				function page_summary(actionvalue,orderbyname)
				{
				  var editform = summaryPrepare(cform,actionvalue,orderbyname);
				  if(!editform) return;
				  editform.action = "ShipmentBatchnoPwdSummary.jsp?<%= OvalTools.randomURL() %>";
				  editform.target = "_self";
				  isRunning = true;
				  editform.submit();
				}
				
			</script>
	</head>
	<body>
		<form name="cform" method="post" action="<%=contextPath%>/Dispatcher">
			<input type="hidden" name="pagename" value="p_zylshipmentbatchnopwd">
			<input type="hidden" name="actionname">

			<%--  page location   --%>
			<%@ include file="/inc/PageLocation.inc"%>

			<table width="100%" cellspacing="0" border="0" cellpadding="0">
				<tr>
					<%--  search criteria  --%>
				</tr>
				<tr>
					<td>
						<table width="100%" border="0" cellspacing="0">
							<%@ include file="/inc/SummarySearch.inc"%>
						</table>
					</td>
				</tr>
				<tr>
					<td>
						<table width="100%" border="1" cellpadding="0"
							bordercolorlight="#999999" bordercolordark="#FFFFFF"
							cellspacing="0" align="center">
							<%--  summary title columns  --%>
							<%
							    ArrayList titleTdArray = new ArrayList();
							    titleTdArray.add(new TD("22","&nbsp;"));
							    titleTdArray.add(new TitleTD("300","L_DealerName","partnername") );
							    titleTdArray.add(new TitleTD("100","L_CustomerName","customername") );
							    titleTdArray.add(new TitleTD("100","L_ProdName","prodname") );
							    titleTdArray.add(new TitleTD("100","L_Date","bunchnopassdate") );
							    titleTdArray.add(new TitleTD("100","L_LotNo","bunchno") );
							    titleTdArray.add(new TitleTD("100","L_SuperviseCode","supervisecode") );
							    titleTdArray.add(new TitleTD("100","L_Password","password") );
							
							%>
							<custom:titletr styleClass="deepblue-left"
								tdArray="<%=titleTdArray%>" />

							<%--  summary data columns  --%>
							<%
							     ArrayList detailTdArray = new ArrayList();
							     detailTdArray.add(new RadioTD());
							     detailTdArray.add(new WriteTD("partnername"));
							    // detailTdArray.add(new WriteTD("customername").addHyperlink("javascript:page_info();",null));
							   detailTdArray.add(new WriteTD("customername"));
							    detailTdArray.add(new WriteTD("prodname"));
							     detailTdArray.add(new WriteTD("bunchnopassdate","date","dateformat"));
							     detailTdArray.add(new WriteTD("bunchno"));
							     detailTdArray.add(new WriteTD("supervisecode"));
							     detailTdArray.add(new WriteTD("password"));
										
								 //form hidden elements	
							     //ArrayList hiddenArray = new ArrayList();
							     //hiddenArray.add(new HiddenInput("contractid",true));
							    // hiddenArray.add(new HiddenInput("status",true));hiddenArray="<%=hiddenArray%e>";
							    
							 %>
							<custom:iteratetr tdArray="<%=detailTdArray%>"
								dataSource="totalsummary" />
							<%@ include file="/inc/SummaryAction.inc"%>
						</table>
						<table width="100%" cellspacing="0" cellpadding="0">
							<tr>
								<td class="summary_top"></td>
							</tr>
							
						</table>
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>
